<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        for (let i = 1; i < 100; i++) {//初始化条件i从1开始；i小于100，i++自增
            if (i % 7 == 0 || i % 10 == 7) {//如果  i模运算余数为0 或i模运算10余数为7
                console.log(i + '的个位或者十位是7');
                //break;
                continue;
            }
            console.log('此时i是' + i);
        }
        console.log('game over');
    </script>
</body>

</html>